# SPDX-License-Identifier: BSD-3-Clause
# Copyright Contributors to the OpenColorIO Project.

include(ExternalProject)

set(SOURCES
    UnitTestMain.cpp
    StringUtils_tests.cpp
)

add_executable(test_utils_exec ${SOURCES})

target_compile_definitions(test_utils_exec
    PRIVATE
        OpenColorIO_SKIP_IMPORTS
)

target_link_libraries(test_utils_exec
    PRIVATE
        utils::strings
        testutils
)

set_target_properties(test_utils_exec PROPERTIES
    COMPILE_FLAGS "${PLATFORM_COMPILE_FLAGS}")

add_test(test_utils_exec test_utils_exec)
